package com.example.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wlg
 * @create_time 2021-08-30 上午 9:21
 * @function  一级分类
 */
@Data
public class OneSubject {
     private String id;
     private String title;

     //一个一级分类有多个二级分类
    private List<TwoSubject> children=new ArrayList<>();

}
